remoteDebuggingPort

open fun remoteDebuggingPort(remoteDebuggingPort: Int): EngineOptions.Builder

Sets the remote debugging port.

This option enables remote debugging over HTTP at the specific port. When remote debugging is enabled, you can navigate to the http://localhost:<port> address from another Browser instance or from the Google Chrome browser and debug the web pages that are currently loaded using Chrome DevTools. If you use the Google Chrome browser for remote debugging, its version must be equal to the Chromium engine version that is used in JxBrowser.

Has the same effect as adding the --remote-debugging-port switch.

Throws

when remoteDebuggingPort is negative